import { createApp } from 'vue'
import { createPinia } from 'pinia'
import '@/styles/common.scss'
import App from './App.vue'
import router from './router'

// 引入懒加载指令插件并注册
import { lazyPlugin } from '@/directive/index';

const app = createApp(App);

app.use(createPinia());
app.use(router)
app.use(lazyPlugin)

app.mount('#app')
